package com.macro.mall.tiny.modules.pms.mapper;

import com.macro.mall.tiny.modules.pms.model.PmsErrorCode;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.MapKey;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tyrone
 * @since 2024-10-09
 */
public interface PmsErrorCodeMapper extends BaseMapper<PmsErrorCode> {

    List<Map<String, Object>> getErrorCodeCategoryByBrandId(Integer brandId);

    void batchAllSaveData(List<PmsErrorCode> pmsErrorCodes);
}
